package dao;

import model.Student;

public class StudentDAO {
	private BasicDao basicDao;
	
	public StudentDAO() {
		basicDao=new BasicDao();
	}
	
	public void saveStudent(Student student) {
		basicDao.save(student);
	}
	
	public Object getStudentByName(String Student,String name) {
		return  basicDao.getObjectByName(Student, name);
	}
	
	
	
}
